package com.game.doudizhu.repository;

import com.game.doudizhu.model.DailyTask;
import com.game.doudizhu.model.Player;
import org.springframework.data.jpa.repository.JpaRepository;

import java.time.LocalDate;
import java.util.List;

public interface DailyTaskRepository extends JpaRepository<DailyTask, Long> {
    List<DailyTask> findByPlayerAndDateAndTaskType(Player player, LocalDate date, String taskType);
} 